﻿<Page x:Class="SignatureApp.MainPage"  
      xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
      xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
      xmlns:local="using:SignatureApp" 
      xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
      xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
      xmlns:sb="using:SignatureBoxControl" 
      mc:Ignorable="d">

    <Grid Background="{StaticResource ApplicationPageBackgroundThemeBrush}">
        <StackPanel Height="248" VerticalAlignment="Center">
            <sb:SignatureBox x:Name="Signature" Height="200" Width="400" InkThickness="2" />
            <StackPanel HorizontalAlignment="Center" Orientation="Horizontal">
                <Button Content="Save" Margin="0,10,0,0" Click="Button_Click" />
                <Button Content="Clear" Margin="0,10,0,0" Click="Button_Clear" />
            </StackPanel>
        </StackPanel>
    </Grid>
</Page>
